package unit_3;

import java.util.Scanner;
public class Demo01 {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入一个整数：");
        int data = sc.nextInt();
        if(data%2==0)
            System.out.println(data+"是一个偶数");
        else
            System.out.println(data+"是一个奇数");
    }
}
